<template>
  <div>
    1231231-
    {{ count }}



  </div>
</template>


<script>
const message = '子组件'
export default {
  props: ['count'],
  beforeCreate() {
    console.log(message, "beforeCreate")
  },
  created() {
    console.log(message, "created")
  },
  beforeMount() {
    console.log(message, "beforeMount")
  },
  mounted() {
    console.log(message, "mounted")
  },
  beforeUpdate() {
    console.log(message, "beforeUpdate")
  },
  updated() {
    console.log(message, "updated")
  },
  beforeUnmount() {
    console.log(message, "beforeUnmount")
  },
  unmounted() {
    console.log(message, "unmounted")
  },
}
</script>